package com.jx.gocomtask.webservice.entity;

/**
 * Created by LWD on 2017/9/1.
 */

import javax.persistence.*;
import java.io.Serializable;
import java.sql.Timestamp;

@Entity
@IdClass(ExtTaskRelationKey.class)
@Table(name = "ext_task_relation")
public class ExtTaskRelation  implements Serializable{

    @Id
    @Column(name="message_id")
    private Long messageId;

    @Id
    @Column(name="relation_message_id")
    private Long relationMessageId;

    @Column(name="relation_time")
    private Timestamp relationTime;

    public Long getMessageId() {
        return messageId;
    }

    public void setMessageId(Long messageId) {
        this.messageId = messageId;
    }

    public Long getRelationMessageId() {
        return relationMessageId;
    }

    public void setRelationMessageId(Long relationMessageId) {
        this.relationMessageId = relationMessageId;
    }

    public Timestamp getRelationTime() {
        return relationTime;
    }

    public void setRelationTime(Timestamp relationTime) {
        this.relationTime = relationTime;
    }
}
